package com.alan.search.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author shiml
 * @since 2021-12-03 15:33:01
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageQueryDTO implements Serializable {

    private static final long serialVersionUID = 8759996499466883675L;

    @ApiModelProperty(value = "当前页数", required = true, example = "1")
    private Integer current;

    @ApiModelProperty(value = "每页数据条数", required = true, example = "10")
    private Integer size;

}